﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataAccessLayer;

namespace BusinessLogicLayer
{
    public class ViewStationeryCatalogueControl
    {
        CategoryDAL ca = new CategoryDAL();
        CatalogueDAL calo = new CatalogueDAL();

        public List<Category> getCatList()
        {
            var lst = ca.getCategoryList();
            return lst;
        }

        public List<object> getAllStationeryList()
        {
            return calo.getAllStationeryList();
        }

        public List<object> getAllStationeryListByCatID(int catID)
        {
            return calo.getAllStationeryListByCatID(catID);
        }
    }
}
